/*
 * @Author: your name
 * @Date: 2021-11-11 15:29:04
 * @LastEditTime: 2021-11-12 09:37:54
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \haha\vue_admin\src\api\hui_kuan\index.js
 */
import request from '@/utils/request'

export function get_all_list(dat) {
  return request({
    url: '/market/backmoney/backmoney_all_list',
    method: 'post',
    data:dat
  })
}
export function get_no_list(dat) {
  return request({
    url: '/market/invoice/invoice_backmoney',
    method: 'post',
    data:dat
  })
}
export function del(dat) {
  return request({
    url: '/market/backmoney/backmoney_cancel',
    method: 'post',
    data:dat
  })
}
export function add(dat,invoice_id) {
  return request({
    url: '/market/backmoney/backmoney_add',
    method: 'post',
    data:dat,
    invoice_id
  })
}
export function edit(dat) {
  return request({
    url: '/market/backmoney/backmoney_edit',
    method: 'post',
    data:dat
  })
}
export function deng_ji_list(dat) {
  return request({
    url: '/market/backmoney/backmoney_list',
    method: 'post',
    data:dat
  })
}
